package zzg.study.protocol.response;

import lombok.Data;
import lombok.EqualsAndHashCode;
import zzg.study.protocol.Packet;

import static zzg.study.protocol.command.Command.QUIT_GROUP_RESPONSE;

/**
 * @Classname QuitGroupResponsePacket
 * @Description 退出群响应packet
 * @Date 2023/12/9 22:29
 * @Author zhuzhenguo
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class QuitGroupResponsePacket extends Packet {

    private String groupId;

    private boolean success;

    private String reason;

    @Override
    public Byte getCommand() {
        return QUIT_GROUP_RESPONSE;
    }
}